def test():
    print("Hello world")


def func(arg1):
    print("*" * 50)
    # 加上括号这个参数只能是函数
    arg1()
    print("*" * 50)


# TypeError: 'str' object is not callable
# func("hell world")

func(test)
